package com.lhj.reggie.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.lhj.reggie.common.R;
import com.lhj.reggie.entity.ShoppingCart;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;

public interface ShoppingCartService extends IService<ShoppingCart> {
    public R<ShoppingCart> add( ShoppingCart shoppingCart);

    public R<ShoppingCart> sub(ShoppingCart shoppingCart);

    public List<ShoppingCart> list();

    public R<String> clean();
}
